
class Student {
  fullName: string;
  constructor(public firstName, public middleInitial,public lastName) {
    this.fullName = firstName + " " + middleInitial + " " + lastName;
  }

}

interface Person {
  firstName: string;
  middleInitial: string;
  lastName: string;
}


function greeter(person: Person) {
  return "Hello, " + person.firstName + " " + person.lastName;
}

const user = new Student("Jane", "M.", "User");
const result = greeter(user);


export default { result };